<aside id="navmenu-mobile">
<div id="navmenu-mobile-wraper">
	<div class="mobile-login-field">
		<div id="login-box-mobile">
			<?if(isEmpty(session.front_login_user.login_name!)) {?>
			<div class="login-box-mobile-form">
				<button data-sign="0" class="btn btn-primary user-login">登录</button>
				<button data-sign="1" class="btn btn-success user-reg">注册</button>	
			</div>
			<?} else {?>
			<div class="login-yet-mobile">
				<div class="login-yet-mobile-avatar">${session.front_login_user.login_name!}</div>
				<div class="login-yet-mobile-manageinfo">
					<a href="${url!}/user/goUpdatePwd" class="title">修改密码</a>
					<a href="${url!}/user/logout" class="name">注销登录</a>
				</div>
				<div class="clr"></div>
			</div>
			<?}?>
		</div>
	</div>
	<ul id="menu-mobile" class="menu-mobile">
		<li id=" menu-item-home" class="menu-item menu-item-type-custom menu-item-object-custom current_page_item menu-item-home">
			<a href="${url!}"><i class="fa fa-home"> </i>首页<span>Home</span></a>
		</li>
		<?for(c in categoryList!) {
			if(isEmpty(c.sub!)){?>
			<li id="menu-item-${c.id!0}" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-${c.id!0}"><a href="${url!}/${c.alias!}.html"><i class="${c.ext1!}"> </i>${c.title!}<span>${c.alias!}</span></a></li>
		<?} else {?>
			<li id="menu-item-${c.id!0}" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-${c.id!0}">
				<a href="javascript:void(0);"><i class="${c.ext1!}"> </i>${c.title!}<span>${c.alias!}</span></a>
				<ul class="sub-menu">
					<li id="menu-item-${c.id!0}" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-${c.id!0}"><a href="${url!}/${c.alias!}.html">${c.title!}</a></li>
				</ul>
			</li>
		<?	}
		}?>
	</ul>
</div>
</aside>
<!-- /.Moblie nav -->
<section id="content-container">
<header class="header-wrap" id="nav-scroll">
	<div class="nav-wrap">
		<div class="logo">
			<a href="${url!}" alt="${site.name}" title="${site.title}" id="logo" >
				<img src="${url!}/template/themes/${site.theme}/images/logo.png">
			</a>
		</div>
		<!-- Toggle menu -->
		<div class="toggle-menu">
			<i class="fa fa-bars"></i>
		</div>
		<!-- /.Toggle menu -->
		<!-- Search button -->
		<div class="search-btn-click">
			<i class="fa fa-search"></i>
		</div>	
		<!-- /.Search button -->
		<!-- Login status -->
		<?if(isEmpty(session.front_login_user.login_name!)) {?>
		<div id="login-reg">
			<span data-sign="0" id="user-login" class="user-login ie_pie "> 登录</span>
			<span data-sign="1" id="user-reg" class="user-reg ie_pie">注册</span>
		</div>
		<?} else {?>
		<div class="login-yet-click">
				<div class="login-yet-click-inner">
					<a href="${url!}/user/profile">${session.front_login_user.login_name!}</a>
				</div>
				<div class="user-tabs">
					<span><i class="fa fa-truck"></i> <a target="_blank" href="${url!}/rule/novel">采集规则</a></span>
					<span><i class="fa fa-cog"></i> <a href="${url!}/user/goFavorite">我的收藏</a></span>
					<span><i class="fa fa-cog"></i> <a href="${url!}/user/goUpdatePwd">修改密码</a></span>
					<span><i class="fa fa-sign-out"></i> <a href="${url!}/user/logout">安全退出</a></span>
				</div>
			</div>
		<?}?>
		<!-- /.Login status -->
		<!-- Menu Items Begin -->
		<nav id="pri-nav" class="site-navigation pri-nav elan_menu" role="navigation">
			<div>
				<ul class="nav-menu">
				<li id="menu-item-home"class="menu-item menu-item-type-custom menu-item-object-custom current_page_item menu-item-home">
					<a href="${url!}"><i class="fa fa-home"> </i>首页<span>Home</span></a>
				</li>
				<?for(c in categoryList!) {
					if(!isEmpty(c.link!)){?>
						<li id="menu-item-${c.id!0}" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-${c.id!0}">
						<a href="${c.link!}"><i class="${c.ext1!}"> </i>${c.title!}<span>${c.alias!}</span></a></li>
					<?} else if(isEmpty(c.sub!)){?>
					<li id="menu-item-${c.id!0}" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-${c.id!0}">
					<a href="${url!}/${c.alias!}.html"><i class="${c.ext1!}"> </i>${c.title!}<span>${c.alias!}</span></a></li>
				<?} else {?>
					<li id="menu-item-${c.id!0}" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-${c.id!0}">
					<a href="javascript:void(0);"><i class="${c.ext1!}"> </i>${c.title!}<span>${c.alias!}</span></a>
					<ul class="sub-menu">
						<?for(c2 in c.sub!) {?>
						<?if(!isEmpty(c2.link!)){?>
							<li id="menu-item-${c2.id!0}" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-${c2.id!0}"><a href="${c2.link!}" target="_blank">${c2.title!}</a></li>
						<?} else { ?>
						<li id="menu-item-${c2.id!0}" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-${c2.id!0}"><a href="${url!}/${c2.alias!}.html">${c2.title!}</a></li>
						<?}}?>
					</ul>
				</li>
				<?	}
				}?>
				</ul>
			</div>
		</nav>
		<!-- Menu Items End -->
	</div>
	<div class="clr"></div>
	<div class="site_loading"></div>
	<!-- Search Form -->
	<div class="header-search-slide" style="display: none;">
		<form method="post" id="searchform-slide" class="searchform" action="${url!}/search" role="search">
			<input type="search" class="field" name="s" value="" placeholder="输入关键词并回车" required>
			<button class="search-btn" type="submit"><i class="fa fa-search"></i></button>
		</form>
	</div>
	<!-- Search Form End -->
</header>
<div class="hidefixnav"></div>
<script type="text/javascript">
	$('.site_loading').animate({'width':'33%'},50);  //第一个进度节点
</script>